package pattern.responsibility.example1;

public class ChainOfResposibilityDemo {
	public static void main(String args[]) {
		Document line = new Document(new double[] { 1.0, 2.0, 1.0, 2.0, -1.0,
				3.0, 4.0, 5.0, 4.0 });
		System.out.println(((Document) DocumentFormat.solve(line)).data);
	}
}
